home *** CD-ROM | disk | FTP | other *** search
- int function_expecting_reference_to_int( int & input_value);
-
- void calling_function(void)
- {
- int i;
- function_expecting_reference_to_int(i);
- }
-
- int function_expecting_reference_to_int( int & input_value)
- {
- int local_variable;
- /* Do something with it */
- local_variable = input_value;
- ...
- }
-
-